using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.Text;
using System.Windows.Forms;
using ComponentFactory.Krypton.Toolkit;

namespace RaGE_JD
{
    public partial class TargetSelector : KryptonForm
    {
        public TargetSelector()
        {
            InitializeComponent();
        }

        private void BtnTargetSelOKClick(object sender, EventArgs e)
        {
            // Transfer Encoded to textbox
            var main = (MainWindow)Owner;
            main.UpdateTarget(comboTargetSel.SelectedItem.ToString());
        }

        private void BtnTargetSelCancelClick(object sender, EventArgs e)
        {
            Dispose();
        }

        
    }
}